WP_Defender\Upgrader D

Total Complexity 174
Dependencies 25
Dependents 0
Total lines 943
Lines of code 613
Logical lines of code 365
Comment lines 241
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
migrate_security_headers()
D
32 43 84
run()
B
40 20 63
upgrade_2_4_10()
A
41 14 57
upgrade_2_5_0()
A
48 11 32
update_malware_scan_send_body()
A
43 9 53
upgrade_2_4_2()
A
52 10 22
migrate_configs()
A
48 9 33
update_in_house_recipients_empty_role()
S
53 7 24
update_2fa_methods()
S
50 6 29
force_nf_lockout_exclusions()
S
54 5 21
upgrade_2_6_1()
S
54 4 19
update_scan_error_send_body()
S
58 4 16
upgrade_2_5_6()
S
59 3 14
maybe_show_new_features()
S
67 3 8
add_index_to_defender_audit_log()
S
60 2 14
add_country_iso_code_column()
S
58 2 14
add_index_to_defender_lockout()
S
61 2 13
add_index_to_defender_lockout_log()
S
64 2 9
add_index_to_defender_scan_item()
S
64 2 9
update_2fa_send_body()
S
67 2 9
add_index_to_defender_email_log()
S
64 2 9
upgrade_2_7_0()
S
59 1 14
delete_tmp_geolite_file()
S
75 1 4
upgrade_2_8_3()
S
82 1 3
upgrade_2_8_0()
S
71 1 6
migrate_scan_integrity_check()
S
73 1 5
upgrade_2_6_2()
S
76 1 4
index_database()
S
67 1 9
update_malware_scan_send_body_common()
S
75 1 4
upgrade_2_6_0()
S
80 1 3
upgrade_2_5_4()
S
80 1 3
upgrade_2_5_2()
S
80 1 3
upgrade_3_0_0()
S
80 1 3